﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>BlankCordovaApp1</title>

    <!-- BlankCordovaApp1 references -->
    <link href="css/index.css" rel="stylesheet" />
    <link href="css/bootstrap.css" rel="stylesheet" />
    <style>
        .form-wrapper {
            margin-top: 20%;
        }

        .main {
            margin-top: 65px;
        }

        html, body {
            background: #eee;
        }
        .loader {
            display: none;
        }
    </style>
</head>
<body>
    <div class="form-wrapper">
        <div class="authorize-form">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title" style="text-align:center;">
                        Авторизация
                    </h3>
                </div>
                <div class="panel-body">
                    <div class="row">
                        <div class="col-xs-12  login-box">
                            <div class="input-group">
                                <span class="input-group-addon">Логин &nbsp;</span>
                                <input type="text" class="form-control" id="login" />
                            </div>
                            <div class="input-group">
                                <span class="input-group-addon">Пароль</span>
                                <input type="password" class="form-control" id="password" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="panel-footer">
                    <div class="row">
                        <div class="col-xs-6 col-sm-6 col-md-6">
                            <input type="submit" class="btn btn-labeled btn" value="Войти" id="logBtn" onclick="logIn();" />
                            <img src="Content/images/ajax-loader.gif" class="loader" width="30" height="30" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Cordova reference, this is added to your app when it's built. -->
    <script src="cordova.js"></script>
    <script src="scripts/platformOverrides.js"></script>
    <script src="scripts/jquery-1.9.1.js"></script>
    <script src="scripts/index.js"></script>
    <script>
        //localStorage.setItem("baseUrl", "http://localhost/RestApp.UI/");
        localStorage.setItem("baseUrl", "http://192.168.56.1/RestApp.UI/");
    </script>
</body>
</html>